package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * Advertisement entity. @author MyEclipse Persistence Tools
 */

public class Advertisement implements java.io.Serializable
{

    // Fields

    private String advertisementId;
    private String advertisementPicture;
    private String advertisementLink;
    private String advertisementTitle;
    private String advertisementType;
    private String userId;
    private Timestamp advertisementAddTime;
    private Timestamp advertisementUpdateTime;

    // Constructors

    /**
     * default constructor
     */
    public Advertisement()
    {
    }

    /**
     * minimal constructor
     */
    public Advertisement(String advertisementId, String advertisementPicture, String advertisementLink, String advertisementType, String userId, Timestamp advertisementAddTime, Timestamp advertisementUpdateTime)
    {
        this.advertisementId = advertisementId;
        this.advertisementPicture = advertisementPicture;
        this.advertisementLink = advertisementLink;
        this.advertisementType = advertisementType;
        this.userId = userId;
        this.advertisementAddTime = advertisementAddTime;
        this.advertisementUpdateTime = advertisementUpdateTime;
    }

    /**
     * full constructor
     */
    public Advertisement(String advertisementId, String advertisementPicture, String advertisementLink, String advertisementTitle, String advertisementType, String userId, Timestamp advertisementAddTime, Timestamp advertisementUpdateTime)
    {
        this.advertisementId = advertisementId;
        this.advertisementPicture = advertisementPicture;
        this.advertisementLink = advertisementLink;
        this.advertisementTitle = advertisementTitle;
        this.advertisementType = advertisementType;
        this.userId = userId;
        this.advertisementAddTime = advertisementAddTime;
        this.advertisementUpdateTime = advertisementUpdateTime;
    }

    // Property accessors

    public String getAdvertisementId()
    {
        return this.advertisementId;
    }

    public void setAdvertisementId(String advertisementId)
    {
        this.advertisementId = advertisementId;
    }

    public String getAdvertisementPicture()
    {
        return this.advertisementPicture;
    }

    public void setAdvertisementPicture(String advertisementPicture)
    {
        this.advertisementPicture = advertisementPicture;
    }

    public String getAdvertisementLink()
    {
        return this.advertisementLink;
    }

    public void setAdvertisementLink(String advertisementLink)
    {
        this.advertisementLink = advertisementLink;
    }

    public String getAdvertisementTitle()
    {
        return this.advertisementTitle;
    }

    public void setAdvertisementTitle(String advertisementTitle)
    {
        this.advertisementTitle = advertisementTitle;
    }

    public String getAdvertisementType()
    {
        return this.advertisementType;
    }

    public void setAdvertisementType(String advertisementType)
    {
        this.advertisementType = advertisementType;
    }

    public String getUserId()
    {
        return this.userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public Timestamp getAdvertisementAddTime()
    {
        return this.advertisementAddTime;
    }

    public void setAdvertisementAddTime(Timestamp advertisementAddTime)
    {
        this.advertisementAddTime = advertisementAddTime;
    }

    public Timestamp getAdvertisementUpdateTime()
    {
        return this.advertisementUpdateTime;
    }

    public void setAdvertisementUpdateTime(Timestamp advertisementUpdateTime)
    {
        this.advertisementUpdateTime = advertisementUpdateTime;
    }

    @Override
    public String toString()
    {
        return "Advertisement [advertisementId=" + advertisementId + ", advertisementPicture=" + advertisementPicture + ", advertisementLink=" + advertisementLink + ", advertisementTitle=" + advertisementTitle + ", advertisementType=" + advertisementType + ", userId=" + userId + ", advertisementAddTime=" + advertisementAddTime + ", advertisementUpdateTime=" + advertisementUpdateTime + "]";
    }

}